package com.baizhi.product.service.impl;

import com.baizhi.product.aspect.LogAnnotation;
import com.baizhi.product.entity.Category;
import com.baizhi.product.dao.CategoryMapper;
import com.baizhi.product.service.ICategoryService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品三级分类 服务实现类
 * </p>
 *
 * @author zhangsan
 * @since 2022-03-23
 */
@Service
public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> implements ICategoryService {
    @Override
    @LogAnnotation(type = "查询",content = "根据条件查询类别")
    public List<Category> list(Wrapper<Category> queryWrapper) {
        return super.list(queryWrapper);
    }
}
